package com.hospital.demo.service.gaoyuran;

import com.hospital.demo.model.gaoyuran.Application;

import java.util.List;

public interface ApplicationSer {

    /**
     * 通过id查询申请表信息
     */
    List<Application> findApplicationById(Integer aid);

    /**
     * 查看全部申请表信息
     */
    List<Application> findAllapplications();
    /**
     * 查看未审批申请表信息
     */
    List<Application> findAllapplicationsno();
    /**
     * 查看已审批申请表信息
     */
    List<Application> findAllapplicationsyes();

    /**
     * 双条件查询
     */
    List<Application> selectAppByD(Application application);

    /**
     * 更新申请表信息
     */
    int upDateApplication(Application application);

    /**
     * 提交申请表
     */
    int AddApplication(Application application);
}
